﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly" xmlns:page="urn:page">
    <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  <xsl:param name="param"/>					<!--引入 param 参数-->
  <msxsl:script language="javascript" implements-prefix="user">function StrSplit(Str,splitChar,n){
    if(Str.length=0){return '1'}
    var a=Str.replace(/'/g,"").split(splitChar);
    if(n&lt;a.length){
    if(a[n].length==0)return '1';
    return a[n];
    }
    return '1';
    }</msxsl:script>
  <xsl:template match="/">
    <table width="100%" border="0" align="center" cellspacing="1" bgcolor="#e0e0e0" class="infoEdit">
      <form id="form1" name="form1" method="post" action="">
        <tbody>
          <tr bgcolor="#ffffff">
            <td width="100" align="left">编码</td>
            <td align="left"><xsl:value-of select="rows/row/ID"/></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">登录名称<font color="#ff0000">*</font></td>
            <td align="left"><input class="input" id="LoginUID" maxlength="24" size="25" name="LoginUID" >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_LoginUID"/></xsl:attribute>
              </input>
              <font color="#9e9e9e">&nbsp;30个字符以内</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">登录密码</td>
            <td align="left"><input name="MIco" type="password" class="input" id="MIco" size="25" maxlength="24">
              <xsl:attribute name="onchange">if(this.value.length>0){$('LoginPWD').value=MD5(this.value);}else{$('LoginPWD').value=$('oPWD').value;}</xsl:attribute>
              </input>
              <font color="#9e9e9e">
              <input name="LoginPWD" type="hidden" size="50" id="LoginPWD" >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_LoginPWD"/></xsl:attribute>
              </input>
              <input name="oPWD" type="hidden" size="50" id="oPWD" >
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_LoginPWD"/></xsl:attribute>
              </input>
              不修改,留空</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">是否禁用<font color="#ff0000">*</font></td>
            <td align="left"><select class="inputbox" id="status" style="WIDTH: 50px" name="status">
                <option value="1" >
                <xsl:if test="rows/row/F_Status=1">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                启用</option>
                <option value="0">
                <xsl:if test="rows/row/F_Status=0">
                  <xsl:attribute name="selected">1</xsl:attribute>
                </xsl:if>
                禁用</option>
              </select>
              <font color="#9e9e9e">默认为“启用”</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">安全等级<font color="#ff0000">*</font></td>
            <td align="left"><input class="input" id="SecurityLevel" size="3" name="SecurityLevel" value="{rows/row/F_SecurityLevel}"/>安全等级越高可查看等级低的数据</td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">帐号说明</td>
            <td align="left"><font color="#9e9e9e">
              <input class="input" id="cDescription" maxlength="250" size="50" name="cDescription">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/F_Description"/></xsl:attribute>
              </input>
              <br />
              请保持在100个字以内</font></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">登录IP</td>
            <td align="left"><xsl:value-of select="rows/row/F_LastLoginIP"/></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">登录次数</td>
            <td align="left"><xsl:value-of select="rows/row/F_LoginTimes"/> 次</td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">最后登录时间</td>
            <td align="left"><xsl:value-of select="rows/row/F_LastLoginTime"/></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td align="left">&nbsp;</td>
            <td height="40" align="left"><input name="f" type="hidden" value="@管理员" /><input class="btnC" id="Submit1" type="button" value="保存" name="Submit1">
              <xsl:attribute name="onclick">if(TM.saveContentCmd('form1',{button:'Submit1',alert:false})==1){TM.pList()}</xsl:attribute>
              </input>
              &nbsp; &nbsp;
              <input class="btnB" type="button" value="取消" name="button" onclick="TM.closeTab()"/>
              &nbsp; &nbsp;
              <input name="editID" type="hidden" id="editID">
              <xsl:attribute name="value"><xsl:value-of select="rows/row/ID"/>
              <xsl:if test="count(rows/row)=0">
                0
              </xsl:if>
              </xsl:attribute>
              </input></td>
          </tr>
        </tbody>
      </form>
    </table>
  </xsl:template>
</xsl:stylesheet>
